package com.qf.ssm.mapper;

import com.qf.ssm.pojo.Areas;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AreasMapper {

    void addAreas(Areas areas);

    List<Areas>findParentAreaByStatus(Long status);

    List<Areas>findAllAreasByNameLikeAndStatusEquals(@Param("areaname")String areaname,@Param("status")Long status);

    int deleteAreasByIds(@Param("ids")List<Long>ids);

    int updateAreas(Areas areas);
}
